package cn.com.infosec.ra.dao.dictionarydao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.com.infosec.ra.entity.Dictionary;

public interface DictionaryDao {
	
	@Select("select * from ins_dictionary where sid =#{dictionaryCardtype} order by ID")
	List<Dictionary> getDicListBySid(int dictionaryCardtype);
	
	@Select("select * from ins_dictionary where sid =#{sid} and id =#{id}")
	Dictionary getDicListBySidAndId(@Param(value="sid")int sid, @Param(value="id")int id);

}
